package lab5p2;

/**
 * <p>Title: Suit</p>
 * <p>Description: CS 235 Assignment #1</p>
 * 
 * This is an enumerated type used to represent
 * the four different suits of playing cards.
 * This enumerated type was chosen over String 
 * objects to represent the suits because it 
 * reduces problems with implementation.  
 * 
 * @author Nick Brown
 * @email nicholas.brown@my.uwrf.edu
 * @date February 25th 2013
 */

public enum Suit 
{
	SPADES, HEARTS, DIAMONDS, CLUBS;
	
	public String toString()
	{
		switch (this) 
		{
			case SPADES:
				return "Spades";
			case HEARTS:
				return "Hearts";
			case DIAMONDS:
				return "Diamonds";
			case CLUBS:
				return "Clubs";
			default:
				return "Unspecified";
		}
	}
}
